from app.middlewares.auth_middleware import create_access_token, create_refresh_token, get_current_user


if __name__ == "__main__":
    token_data = {"user_id": 1, "username": "admin"}
    access_token = create_access_token(data=token_data)
    print("生成的访问令牌:", access_token)